package com.stagewebserver.webserver.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.stagecommon.common.vo.OrderCommentVo;
import com.stagecommon.common.pojo.OrderComment;

public interface OrderCommentMapper extends BaseMapper<OrderComment> {

    /**
     * 修改回复的评论内容
     * @param orderId
     * @param replyContent
     * @return
     */
    int updateReplyCommentContent(Long orderId, String replyContent);

    /**
     * 根据评论id查询订单评论信息
     * @param orderCommentId
     * @return
     */
    OrderCommentVo selectOrderCommentById(Long orderCommentId);
}
